package org.wang.pattern.struct.adapter;

/**
 * 
 * @author Administrator
 *
 */
public class AdapterImple implements Adapter{
	
	private OuterClass outer;
	
	public AdapterImple(OuterClass outer){
		this.outer = outer;
	}

	@Override
	public void adapterMethod() {
		System.out.println("Adapter method!");
	}

	@Override
	public void outterMethod() {
		outer.outterMethod();
	}

}
